<div id="wishlist<?php echo $res->id; ?>" class="link-wishlist">
<?php 
        if($check_login==false)
        {
?>
        <a class="link_login_like" href="#">Yêu thích</a>
<?php
        }
        else 
        {
        if($check_like==false)
        {
?>
        <a class="add_restaurent_wishlist" value="<?php echo $res->id; ?>" href="<?php echo base_url();?>">Add to wishlist</a>
<?php 
        }else{                    	
?>
        <a class="remove_restaurent_wishlist" value="<?php echo $res->id; ?>" href="<?php echo base_url();?>">Remove Wishlist</a>
<?php }}?>                    	
</div>